home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Prog / T / ThinkHelper 1.0b1.sit / ThinkHelper 1.0b1 / Source (!) / Source / PUFInterface.h / PUFInterface.h
Encoding:
C/C++ Source or Header  |  1993-08-18  |  854 b   |  39 lines  |  [TEXT/KAHL]

  1. /*
  2.     PUFInterface.h
  3.     
  4.     an interface to THCs PUF interface stuff
  5.     
  6.     © 1993 Steve Zellers, All Rights Reserved
  7.     
  8.     <revision history>
  9.     05/16/93  smz  created
  10. */
  11.  
  12. #pragma once
  13.  
  14. #include <AppleEvents.h>
  15.  
  16. typedef struct {
  17.     Str255    name;
  18.     long    selStart;
  19.     long    selEnd;
  20. } PUFMarker;
  21.  
  22. void InstallPUFPatches(void);
  23.  
  24. void PUFSetSelection(long selStart, long selEnd);
  25. void PUFGetSelection(long* selStart, long* selEnd);
  26. const Handle PUFGetText(void);
  27. Handle PUFCopySelection(void);
  28. void PUFGetMarkerPos(Str255 markerName, PUFMarker* marker);
  29. void PUFCloseFrontmost(void);
  30. void PUFGetFileSpec(FSSpec* spec);
  31. Boolean PUFGetNthMarker(short ixMarker, PUFMarker* marker);
  32. void PUFPasteText(Handle hText);
  33.  
  34. void PUFDeleteMarker(Str255 name);
  35. void PUFMarkSelection(Str255 markerName);
  36.  
  37. void PUFZoomWindow(Point topLeft, Point widthHeight);
  38.  
  39. void PUFCallMenu(Str255 menuName);